home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960209-19960425 / 000071_news@columbia.edu _Fri Feb 23 21:52:04 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.3/8.7.3) with ESMTP id VAA20955 for <kermit.misc@watsun>; Fri, 23 Feb 1996 21:52:03 -0500 (EST)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.3/8.7.3) id VAA13698 for kermit.misc@watsun; Fri, 23 Feb 1996 21:52:01 -0500 (EST)
  4. Path: news.columbia.edu!panix!bloom-beacon.mit.edu!tribune.meitca.com!uunet!in1.uu.net!airgun.wg.waii.com!news
  5. From: zepeda@am51.wg.waii.com (Daniel Zepeda)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: C-Kermit, UNIX and term variables
  8. Date: 23 Feb 1996 21:37:49 GMT
  9. Organization: Western Geophysical, Div. of Western Atlas Int'l, Houston, TX
  10. Lines: 36
  11. Message-ID: <ZEPEDA.96Feb23153749@am51.wg.waii.com>
  12. References: <4gla4o$rp6@csugrad.cs.vt.edu>
  13. NNTP-Posting-Host: am51.wg.waii.com
  14. In-reply-to: haggerty@csugrad.cs.vt.edu's message of 23 Feb 1996 16:04:24 -0500
  15.  
  16. In article <4gla4o$rp6@csugrad.cs.vt.edu> haggerty@csugrad.cs.vt.edu (Pete-O-Rama) writes:
  17.  
  18.  
  19. This may not be your problem, but remember that most crons run their jobs with
  20. the system default shell, which is usually the Bourne Shell. Make sure that
  21. your csh script is being interpreted by  a csh interpreter, like:
  22.  
  23.  "28 16 13 01 *  /bin/csh yourScriptName".
  24.  
  25.  
  26. > From: haggerty@csugrad.cs.vt.edu (Pete-O-Rama)
  27. > Newsgroups: comp.protocols.kermit.misc
  28. > Date: 23 Feb 1996 16:04:24 -0500
  29. > Organization: Virginia Tech Computer Science Dept, Blacksburg, VA
  30. > I have been working on a script that uses expect (a program to automate 
  31. > processes that expect interactive input from a human user) to automate a
  32. > dial up process.  The c-shell script calls a expect script which spawns
  33. > the kermit process that then calls and has the expect script give it 
  34. > commands.
  35. > The whole process works find when it is run from the command line (by
  36. > invoking the name of the c-shell script) (both in the background and
  37. > in the foreground).  It also runs fine when run with the exec command.
  38. > The only time that it does not work is when it is run from cron.
  39. > Since exec passes the process the environment variables and cron does
  40. > not I can only assume that C-Kermit is missing some variable.
  41. -- 
  42. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  43. "ASCII art looks stupid with proportionally spaced fonts."
  44.  
  45. Daniel Paul Zepeda
  46. Western Geophysical
  47. Applied Technology Software - Testing
  48. e-mail: <daniel.zepeda@waii.com>
  49.